<?php	 	 
$this->breadcrumbs=array(
	'News',
);

$this->menu=array(
	array('label'=>'Create News','url'=>array('create')),
	array('label'=>'Manage News','url'=>array('admin')),
);
?>

<h1>News</h1>
<?php	 	 
if(Yii::app()->user->checkAccess('satker')){
 $this->widget('bootstrap.widgets.BootButton', array(
        'type'=>'primary',
        'size'=>'mini',
        'label'=>'Buat Berita Baru',
		'url'=>Yii::app()->createUrl('/news/create'),
    )); 
}
	?>
	&nbsp;
<?php	 	  $this->widget('bootstrap.widgets.BootButton', array(
        'type'=>'primary',
        'size'=>'mini',
        'label'=>'Pengaturan Berita',
		'url'=>Yii::app()->createUrl('/news/admin'),
    )); ?>
<?php	 	  $this->widget('bootstrap.widgets.BootListView',array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
